package com.natalia.file.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author yang
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "分片上传初始化请求参数", description = "分片上传初始化请求参数")
public class MultipartInit {

    /**
     * 文件名称
     */
    @ApiParam(value = "文件名称", required = true)
    String fileName;

    /**
     * 分片数量
     */
    @ApiParam(value = "分片数量", required = true)
    Integer partNum;

    /**
     * 文件md5值
     */
    @ApiParam(value = "文件md5值", required = true)
    String fileMd5;

}
